package com.yjf.indoormap.model;

import com.yjf.indoormap.entity.Shop;
import com.yjf.indoormap.network.MyResult;
import com.yjf.simple_retrofit.simples.ResultObserver;

import java.util.List;

/**
 * Created by yjf on 2017/4/22.
 */

public interface ShopModel {

    void loadRecommended(int index, ResultObserver<MyResult<List<Shop>>> observer);

    void loadAll(ResultObserver<MyResult<List<Shop>>> observer);

    void loadByType(final String type, ResultObserver<MyResult<List<Shop>>> observer);

    void searchByKey(String type, ResultObserver<MyResult<List<Shop>>> observer);

}
